package com.liang.jiekou.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.liang.jiekou.entity.MOCTC;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface MOCTCMapper {


    /**
     * 插入领料单单头 并返回单号
     * @param moctc
     * @return
     */
    @DS("demo")
    void add(MOCTC moctc);

    @DS("demo")
    String getNewTC002Year2(String db);

    @DS("demo")
    String getNewTC002Year4(String db);
    @DS("demo")
    void delete(String db, String dh);


}
